<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

/**后台页面*/
Route::get('/teach-admin', function () {
    \View::addExtension('html','php');

    echo  view()->file(public_path().'/teach-admin-folder/dist/index.html');
});
